package com.winphone.zhgd.mapper;

import com.winphone.zhgd.entity.TbSysUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winphone.zhgd.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhou
 * @since 2017-08-31
 */
public interface TbSysUserMapper extends BaseMapper<TbSysUser> {

    @Select("select * from tb_sys_user where username = #{username} and password = #{password}")
    TbSysUser selectBySQL(@Param("username")String username, @Param("password")String password);
}